import java.util.List;


public class Function {
	private String returnType;
	private List<String> parTypes;
	private String name;
	
	public Function(String name, List<String> parTypes) {
		this.returnType = "<UNSET RETURN TYPE>";
		this.name = name;
		this.parTypes = parTypes;
	}
	
	public void setReturnType(String returnType) {
		this.returnType = returnType;
	}
	
	public List<String> getParameterTypes() {
		return parTypes;
	}
	
	public String getReturnType() {
		return returnType;
	}
	
	public String getName() {
		return name;
	}
	
	public String toString() {
		return "[Function " + name + "; returns: " + returnType + "; args: " + parTypes + "]"; 
	}
}
